﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.IndexViewModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Brjóstagjöf - Forsíða
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Brjóstagjöf.is - Forsíða</h1>
    <br />
        <div class="frettirForsida">
            <h2>Nýjustu Fréttir</h2>
            
            <% Html.RenderPartial("PartialViews/AllNewsArticles", Model.newsArticles); %>
        </div>
        <div class="frettirForsida">
            <h2>Nýjar Greinar</h2>
            <% Html.RenderPartial("PartialViews/AllArticles", Model.articles); %>
        </div>
        <div class="clearContainer"></div>
</asp:Content>
